package com.njwb.day11.reflection;

public class Person {
    private String name;
    private int age;

    public Person() {
        this.name = "默认姓名";
        this.age = 18;
    }

    @Override
    public String toString() {
        return "Person{name='" + name + "', age=" + age + "}";
    }
}
